package Decorator_Pattern.Coffee;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class Mocha extends Mixed{
    public Mocha (Coffee coffee){
        super(coffee);
    }

    @Override
    public double display() {
        super.display();
        return super.display()+addMocha();
    }
    public double addMocha(){
        return 8;

    }
}
